package com.deke.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author ：Username 刘亦辰（59372312@qq.com）
 * @date ：Created in 2022/12/5 18:17
 * @description：
 * @modified By：
 * @version:
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "acl_user_role")
public class AclUserRole {
    private String id;
    private String userId;
    private String roleId;
    private String isDeleted;
    private LocalDateTime gmtCreate;
    private LocalDateTime gmtModified;

    public AclUserRole(String userId, String roleId, String isDeleted, LocalDateTime gmtCreate, LocalDateTime gmtModified) {
        this.userId = userId;
        this.roleId = roleId;
        this.isDeleted = isDeleted;
        this.gmtCreate = gmtCreate;
        this.gmtModified = gmtModified;
    }
}